Skip to content

Cookbook: upgrade recipes to RR7#2954

Merged
ruggishop merged 24 commits intomainfrom
feat/upgrade-recipes-rr7
Jun 12, 2025
Merged

Cookbook: upgrade recipes to RR7#2954
ruggishop merged 24 commits intomainfrom
feat/upgrade-recipes-rr7

Conversation

@ruggishop
Copy link
Copy Markdown
Contributor

@ruggishop ruggishop commented May 21, 2025

WHY are these changes introduced?

The recipes should be upgraded to use RR7 as a followup to #2866.

WHAT is this pull request doing?

  1. Update all recipes to use react-router imports instead of @remix-run/router
  2. Update copy accordingly where needed
  3. Add an optional flag to the validate command so it's possible to force a specific version of the hydrogen packages in the package.json file
  4. Use the local temp folder for the validation

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes
  • I've added tests to cover my changes
  • I've added or updated the documentation

@shopify
Copy link
Copy Markdown
Contributor

shopify bot commented May 21, 2025

Oxygen deployed a preview of your feat/upgrade-recipes-rr7 branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment June 11, 2025 3:20 PM
third-party-queries-caching ✅ Successful (Logs) Preview deployment Inspect deployment June 11, 2025 3:20 PM
metaobjects ✅ Successful (Logs) Preview deployment Inspect deployment June 11, 2025 3:20 PM
custom-cart-method ✅ Successful (Logs) Preview deployment Inspect deployment June 11, 2025 3:20 PM

Learn more about Hydrogen's GitHub integration.

@ruggishop ruggishop marked this pull request as ready for review June 11, 2025 15:17
@ruggishop ruggishop merged commit 4129da5 into main Jun 12, 2025
10 checks passed
@ruggishop ruggishop deleted the feat/upgrade-recipes-rr7 branch June 12, 2025 11:06
@ruggishop ruggishop mentioned this pull request Jun 12, 2025
5 tasks
juanpprieto pushed a commit that referenced this pull request Sep 17, 2025
* update recipes

* update

* update

* regen

* snap

* wip

* update bundles

* revert

* hydrogen packages version

* regen

* update copy

* revert

* revert

* update links function import

* Update remix doc url to react router

* update

* Update cookbook/recipes/bundles/recipe.yaml

Co-authored-by: Rory Tanner <rory.tanner@shopify.com>

* regen

* update useVariantUrl

* update subs

* regen

* restore

---------

Co-authored-by: Balint Gabor <127662+gbalint@users.noreply.github.com>
Co-authored-by: Rory Tanner <rory.tanner@shopify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants